<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<h1>Registration</h1>
<form method="post" action="{{ url_for('register') }}">
    {{ form.csrf_token }}
    <div>
        <label>{{ form.uesrname.label }}</label>
        {{ form.uesrname }}
    </div>
    <div>
        <label>{{ form.password.label }}</label>
        {{ form.password }}
    </div>
    <div>
        <label>{{ form.confirm_password.label }}</label>
        {{ form.confirm_password }}
    </div>
    <div>
        <label>{{ form.display_name.label }}</label>
        {{ form.display_name }}
    </div>
    <input type="submit" value="Registr">
</form>

</body>
</html>